<!DOCTYPE html>
<html lang="zh_CN" xmlns:th="http://www.thymeleaf.org"
      xmlns:layout="http://www.ultraq.net.nz/web/thymeleaf/layout">

<head>
    <title th:text="${pageTitle}"></title>
    <div data-th-replace="layout/head-top"></div>
</head>
<body class="gray-bg">
<div class="wrapper wrapper-content animated fadeInLeft">
    <div data-th-replace="common/functionDepict"></div>
    <input type="hidden" id="examPaperId" th:value="${examPaper['id']}">
    <div class="ibox-content">
        <div class="row">
            <div class="col-sm-6">
                <div class="row">
                    <span class="pull-left m-r team-members clearfix">
                        <img alt="member" class="img-circle" th:if="${#lists.isEmpty(examPaper['classesList'])}" th:src="@{{path}/front/web/v3/img/default/default-class.jpg?v={v}(path=${staticPath},v=${v})}">
                        <img alt="member" class="img-circle" th:if="!${#lists.isEmpty(examPaper['classesList'])}" th:each="classes : ${examPaper['classesList']}" th:src="${classes['imageMap']['pcUrlMap']['small']}">
                    </span>
                    <section class="col-sm-10">
                        <section class="caption">
                            <h3 class="txtOf mt10 fs18" th:text="${examPaper['name']}"  ></h3>
                            <aside class="mt10 c-999">
                                <span th:text="${#dates.format(examPaper['createTime'],'yyyy-MM-dd HH:mm')}+' 发布'">—/-</span>
                                <span th:if="${examPaper['status']}==0" class="ml10">作业状态：未发布</span>
                                <span th:if="${examPaper['status']}==1" class="ml10">作业状态：已发布</span>
                                <span th:if="${examPaper['status']}==2" class="ml10">作业状态：已禁用</span>
                                <span th:if="${examPaper['status']}==3" class="ml10">作业状态：已删除</span>
                                <span >&nbsp;&nbsp;&nbsp;&nbsp;截止提交：<span th:text="${#strings.isEmpty(examPaper['endTime'])}?'无时间限制':${#dates.format(examPaper['endTime'],'yyyy-MM-dd HH:mm')}"></span></span>
                            </aside>
                        </section>
                    </section>
                </div>
            </div>
            <div class="col-sm-6 pr">
                <section class="pr text-center row mt10">
                        <span class="col-sm-3">
                            <strong class="fs24 c-000" th:text="${taskCount}" >0</strong>
                            <br>
                            <span class="fs12 c-999">作业总人数</span>
                        </span>
                    <span class="col-sm-3">
                            <strong class="fs24 c-000"  th:text="${finishCount}">0</strong>
                            <br>
                            <span class="fs12 c-999">交作业人数</span>
                        </span>
                    <span class="col-sm-3">
                            <strong class="fs24 c-000" th:text="!${#strings.isEmpty(maxCount)}?${maxCount}:'0'">0</strong>
                            <br>
                            <span class="fs12 c-999">作业最高分</span>
                        </span>
                    <span class="col-sm-3">
                            <strong class="fs24 c-000"  th:text="!${#strings.isEmpty(minCount)}?${minCount}:'0'">0</strong>
                            <br>
                            <span class="fs12 c-999">作业最低分</span>
                        </span>
                </section>
            </div>
        </div>
    </div>
    <div>
        <div class="ibox-title">
            <div class="row">
                <div class="col-sm-5">
                    <h5>
                        <a th:href="@{/admin/classes/task/classesTaskInfoListPage?taskId={taskId}(taskId=${taskId})}">
                                <span>
                                    <button class="btn btn-white" data-toggle="tooltip" data-placement="top" data-original-title="刷新作业列表">
                                        <i class="fa fa-refresh"></i> 刷新作业列表
                                    </button>
                                </span>
                        </a>
                        <small >（共 <span id="taskCount"></span> 个作业记录）</small>
                    </h5>
                </div>
                <div class="col-sm-6">
                    <form id="search-form" role="form" class="form-inline search-form">
                        <!--<div class="input-group opSearchBox">-->
                            <select name="marked" class="form-control mb10">
                                <option value="">批阅状态</option>
                                <option value="1">未批阅</option>
                                <option value="2">已批阅</option>
                            </select>
                            <select name="taskStatus" class="form-control mb10">
                                <option value="0">是否延期交作业</option>
                                <option value="1">已延期</option>
                                <option value="2">未延期</option>
                            </select>
                        <div class="form-group" style="margin-bottom: 10px">
                            <input placeholder="请输入学员名称" name="userName" class="form-control common-search-word" type="text">
                        </div>
                        <button type="button" class="btn btn-w-m btn-primary" id="btn1" style="margin-bottom: 10px">搜索</button>
                        <!--</div>-->
                    </form>
                </div>
            </div>
        </div>

        <div class="m-t" id="course-list-context">

        </div>
    </div>
</div>
<div data-th-replace="layout/head-footer"></div>

<!--<script type="text/javascript" th:src="@{{path}/admin/business/exam/paper/exam_practice_info.js?v={v}(path=${staticPath},v=${v})}"></script>-->
<script type="text/javascript" th:src="@{{path}/admin/business/classes/task/classes-task-info-list.js?v={v}(path=${staticPath},v=${v})}"></script>


</body>
</html>


